package com.rz.htk.template.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rz.core.common.model.PageEntity;

import java.time.LocalDateTime;

/**
 * @ClassName TemplateField
 * @Description 模板详情
 * @Author maweiyue
 * @Date 2019/4/17 20:37
 */
@TableName("sys_template_field")
public class TemplateField extends PageEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 模板id */
    private Integer tempId;

    /** 字段中文名称 */
    private String lable;

    /** 字段名称（对应java类属性） */
    private String name;

    /** 字段类型 */
    private String type;

    /** 字段序号 */
    private Integer fieldOrder;

    /** 模板名称 */
    @TableField(exist = false)
    private String tempName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTempId() {
        return tempId;
    }

    public void setTempId(Integer tempId) {
        this.tempId = tempId;
    }

    public String getLable() {
        return lable;
    }

    public void setLable(String lable) {
        this.lable = lable;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTempName() {
        return tempName;
    }

    public void setTempName(String tempName) {
        this.tempName = tempName;
    }

    public Integer getFieldOrder() {
        return fieldOrder;
    }

    public void setFieldOrder(Integer fieldOrder) {
        this.fieldOrder = fieldOrder;
    }
}
